package com.toune.movie.mvp.presenter;


import com.toune.movie.base.BasePresenterImpl;
import com.toune.movie.mvp.activity.TvVideoActivity;
import com.toune.movie.mvp.contract.TvVideoContract;
import com.toune.movie.mvp.model.TvVideoModel;
import com.toune.movie.vo.VarietyVo;

import java.util.List;

/**
 * Created by Administrator on 2018/5/15.
 */

public class TvVideoPresenter extends BasePresenterImpl<TvVideoActivity> implements TvVideoContract.Presenter {
    TvVideoModel tvVideoModel = new TvVideoModel(this);

    @Override
    public void setVo(List<VarietyVo> voList) {
        mView.setVo(voList);
    }

    @Override
    public void setHeaderVos(List<VarietyVo> headerVos) {
        mView.setHeaderVos(headerVos);
    }

    @Override
    public void getVo(String url, int page) {
        tvVideoModel.getVo(url, page);
    }
}
